setBit

Sets or clears the bit at offset in the string value stored at key. The bit is either set or cleared depending on value, which can be either 0 or 1.

void
setBit
(
Redis redis
,
string key
,
uint offset
,
bool value
)

Parameters

redis Redis

Database

key string

Key

offset uint

Bit to set or reset

Meta